{any_include file="scp_page_start.tpl" wide=1}

<!-- $Id$ -->

<h1>OAuth - Remove Access To Server</h1>

{any_include file="scp_oauth_menu.tpl"}

{if $error}
<p class="error">
	Can not delete the given token. Either it does not exist or you don't have the permission to delete it.
</p>
{else}
<p class="error">
	Do you want to remove access to the server {$token.server_uri|trim|default:$token.application_uri|default:"Unknown"|escape}?
</p>

<form method="post" action="{$rel_path}module/OAuth/consumer/token/remove">
<input type="hidden" name="token"        value="{$token.token|escape}" />
<input type="hidden" name="consumer_key" value="{$token.consumer_key|escape}" />
<input type="hidden" name="confirm" value="1" />
<p>
	<button type="submit" class="negative">
		Remove
	</button>
	
	<a href="{$rel_path}module/OAuth/consumer/token/list" class="button">
		Cancel
	</a>
</p>
	
</form>

{/if}

{any_include file="scp_page_end.tpl" wide=1}
